package com.yichen.ycApiCommon.service;

import com.yichen.ycApiCommon.model.entity.UserInterfaceInfo;

/**
 * @Author: yichenwu
 * @Date:2024/7/30 23:53
 */
public interface InnerUserInterfaceInfoService {
    /**
     * 接口调用次数加一
     *
     * @return
     */
    Boolean invokeCountPlus(Long interfaceInfoId, Long userId);

    /**
     * 获取 invokeUserInterfaceInfo
     *
     * @return
     */
    UserInterfaceInfo invokeUserInterfaceInfo(Long interfaceInfoId, Long userId);
}
